All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.GraphicsContext

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.GraphicsContext

public class GraphicsContext
extends NativeObject
This class wraps the Objective-C class NSGraphicsContext.


Constructor Index

 o GraphicsContext()
This default constructor is equivalent to Objective-C's [[NSGraphicsContext alloc] init].
 o GraphicsContext(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o currentContext()
A wrapper for the + currentContext Objective-C class method.
 o flush()
A wrapper for the - flush Objective-C instance method.
 o isDrawingToScreen()
A wrapper for the - isDrawingToScreen Objective-C instance method.
 o restoreGraphicsState()
A wrapper for the - restoreGraphicsState Objective-C instance method.
 o saveGraphicsState()
A wrapper for the - saveGraphicsState Objective-C instance method.
 o setCurrentContext(GraphicsContext)
A wrapper for the + setCurrentContext: Objective-C class method.
 o synchronize()
A wrapper for the - wait Objective-C instance method.

Constructors

 o GraphicsContext
 protected GraphicsContext(boolean shouldAllocate,
                           int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o GraphicsContext
 public GraphicsContext()
This default constructor is equivalent to Objective-C's [[NSGraphicsContext alloc] init].

Methods

 o currentContext
 public static native Object currentContext()
A wrapper for the + currentContext Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o setCurrentContext
 public static native void setCurrentContext(GraphicsContext context)
A wrapper for the + setCurrentContext: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o isDrawingToScreen
 public native boolean isDrawingToScreen()
A wrapper for the - isDrawingToScreen Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o saveGraphicsState
 public native void saveGraphicsState()
A wrapper for the - saveGraphicsState Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o restoreGraphicsState
 public native void restoreGraphicsState()
A wrapper for the - restoreGraphicsState Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o flush
 public native void flush()
A wrapper for the - flush Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).

 o synchronize
 public native void synchronize()
A wrapper for the - wait Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, GraphicsContext, should be enough to head you in the right direction should you find more than one such method).


All Packages  Class Hierarchy  This Package  Previous  Next  Index